function doSubmit(){
    if (!formCheck().form()) {
        return;
    };
    var url=base+"/personal/uc/update";
    $.post(url, $("#editForm").serialize(), function (data) {
        $.messager.alert0({selector: "#editAlert", type: data.code, html: data.message});
        if (data && data.code == 'SUCCESS') {
           window.location.href=base+"/personal/information";
        }
    }, "json");

}


function formCheck() {
    return $('#editForm').validate({
        rules: {
            phone: {
               phone:true
            },
            mobile: {
               mobile:true
            },
            description: {
                maxlength:[100]
            },
            email: {
                email:true
                
            }

        }
    });
}
